import sympy

# a,b,c=sympy.symbols('a,b,c,')
# x =sympy.Symbol('x')
# s =sympy.solve(3*x**3 + 6*x - 100,x)
# print(s)

# x =sympy.Symbol('x')
# s =sympy.solve(sympy.sin(x)-sympy.cos(x),x)
# print(s)

# x,y=sympy.symbols('x,y')
# eq1=x+2*y+1
# eq2=x-y+1
# s=sympy.solve([eq1,eq2],[x,y],dict=True)
# print(s)

#

a, b = sympy.symbols("a,b")
eq1 = 3 * b + 2 * a - 166
eq2 = a + b - 67
s = sympy.solve([eq1, eq2], [a, b], dict=True)
print(s)
